package com.woniuxy.service;

import com.woniuxy.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public List<User> findAllUsers();

    /**
     * 登录方法
     * @param telephone
     * @param password
     * @return
     */
    public User login(String telephone,String password);

    /**
     * 增加用户
     * @param user
     * @return
     */
    public boolean addUser(User user);

}
